const express = require("express");
var router = express.Router();
var Mock = require("mockjs");

var { flylist } = require("./flylist");
var { nav } = require("./nav");

router.get("/api/flylist", function (req, res) {
  res.json(flylist);
});

router.get("/api/nav", function (req, res) {
  res.json(nav);
});

module.exports = router;
